<?php
class Foo 
{
 
    public function bar(Bar $bar)
    {
    	$this->bar = $bar;
    	return $this;

    }

    function abc(){
    	 return '444';
    }
}